import 'package:capsule/models/field_info.dart';

class OrderFieldInfo extends FieldInfo {
  final String? orderFields;
  final String sort;

  String get orderByStatement => "${orderFields ?? name} by $sort";
  const OrderFieldInfo(
      {required super.name, super.title, this.orderFields, this.sort = "ASC"});
}
